crypto/tls.Conn.peerCertificates (field)

18 uses

	crypto/tls (current package)
		conn.go#L51: 	peerCertificates []*x509.Certificate
		conn.go#L1484: 	state.PeerCertificates = c.peerCertificates
		conn.go#L1527: 	return c.peerCertificates[0].VerifyHostname(host)
		handshake_client.go#L523: 		if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) {
		handshake_client.go#L534: 		err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx)
		handshake_client.go#L584: 	preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0])
		handshake_client.go#L738: 	c.peerCertificates = hs.session.serverCertificates
		handshake_client.go#L817: 		serverCertificates: c.peerCertificates,
		handshake_client.go#L883: 	c.peerCertificates = certs
		handshake_client_tls13.go#L337: 	c.peerCertificates = hs.session.serverCertificates
		handshake_client_tls13.go#L486: 	if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		handshake_client_tls13.go#L668: 		serverCertificates: c.peerCertificates,
		handshake_server.go#L594: 			pub = c.peerCertificates[0].PublicKey
		handshake_server.go#L634: 	if len(c.peerCertificates) > 0 {
		handshake_server.go#L751: 	for _, cert := range c.peerCertificates {
		handshake_server.go#L834: 	c.peerCertificates = certs
		handshake_server_tls13.go#L724: 	for _, cert := range c.peerCertificates {
		handshake_server_tls13.go#L818: 		if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,